<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/commons/jsp/taglibs.jsp"%>
<%@taglib uri="http://www.framework.com/taglib" prefix="frame"%>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script type="text/javascript" src="${ctx}/commons/js/uploadify/jquery.uploadify.min.js"></script>
<link type="text/css" href="${ctx}/commons/js/uploadify/uploadify.css" rel="stylesheet"></link>
<script type="text/javascript">
     var requestUrl="http://${basePath}:${port}${ctx}/business/projectmanage/getBidDetail?id=${pb.id}&r="+new Date().getTime();
</script>
<style type="text/css">
	li{
		padding-top:8px;
	}
	.st{
	 display:none;
	}
</style>
<form name="addProjectsDataForm" id="addProjectsDataForm" method="post" action="${ctx}/business/projectmanage/bidder/saveShot" >
	<input type="hidden" name="id" id="id" value="${pb.id}"/>
	<input type="hidden" name="projectId" id="projectId" value="${project.id}"/>
	<input type="hidden" name="budgetMenuData" id="budgetMenuData" value=""/>
	
	<div class="easyui-panel" data-options="border:true,title:'投标报价'" style="padding:6px;margin-bottom: 6px;">
		<table class="infoTable">
		<tr>
			<th align="right" width="15%">投标报价(${project.bidType==0 ?'元':'%'})</th>
			<td colspan="3">
				<fmt:formatNumber value="${pb.bidAmount }" type="currency" pattern=".00#"/>
			</td>
		</tr>
		<tr>
			<th align="right" width="15%">法人代表或本项目委托人姓名</th>
			<td >
				${pb.consignor }
			</td>
			<th align="right" width="15%">法人代表或本项目委托人身份证号</th>
			<td>
				${pb.consignorIdCard }
			</td>
		</tr>
		<tr>
			<th align="right" width="15%">法人代表或本项目委托人联系方式</th>
			<td colspan="3">
				${pb.consignorPhone }
			</td>
		</tr>
	</table>
	</div>
	
	<c:if test="${project.auditable }">
	<div class="easyui-panel" data-options="border:true,title:'响应文件'" style="padding:6px;margin-bottom: 6px;">
		<table class="infoTable">
			<tbody>
				<c:forEach var="response" items="${fn:split(project.responseFile,'@')}" varStatus="sta">
					<c:if test="${response!='-'}">
						<tr>
							<td  align='center' width="35%" style="background-color: #EDF4FB;">${response } </td>
							<td style="border-left: none" width="65%" >
								<c:forEach items="${resList}" var="res">
									  <c:if test="${res.functionFlog==sta.index+1}">
										<a class="easyui-linkbutton"  href="javascript:showOpenFile('${ctx }','${res.id}',requestUrl);">${res.oldName }</a><br/>
									  </c:if>
								</c:forEach>
							</td>
						</tr>
					</c:if>
				</c:forEach>
				
		</tbody>
		</table>
	</div>
	</c:if>
</form>
<script type="text/javascript">
	
	$(function(){
		$(".easyui-linkbutton").click(function () {
            //当前被点击的div改变背景色
            $(this).css("background", "#F9606B");
        });
		
	});


	
	
</script>